<template>
    <div class="topMenu">
      <span class="menuItem">
        <i class="iconfont icon-qingchuhuancun"></i>
        <div class="name">清除</div>
      </span>
      <span class="menuItem">
        <i class="iconfont icon-qunfengyouhuifenrunbili"></i>
        <div class="name">优惠</div>
      </span>
    </div>
</template>

<script type="text/ecmascript-6">
export default {
  data () {
    return {}
  }
}
</script>

<style lang="less">
  .topMenu {
    display: flex;
    padding: 10px;
    background-color: #ffffff;
    border: 1px solid #ECECEC;
  }
  .menuItem {
    flex: 1;
    text-align: center;
    .iconfont {
      display: inline-block;
      font-size: 30px;
      margin-bottom: 5px;
      &.icon-qingchuhuancun {
         color: #46CE7A;
       }
       &.icon-qunfengyouhuifenrunbili {
          color: #E68B48;
        }
    }
    .name {
      font-size: 10px;
    }
  }

</style>
